add ability to extract component with 1 component formats
authorØyvind Kolås <pippin@gimp.org>
Fri, 16 Mar 2012 11:25:59 +0000 (11:25 +0000)
committerØyvind Kolås <pippin@gimp.org>
Fri, 16 Mar 2012 11:25:59 +0000 (11:25 +0000)
babl/babl-format.c
tests/Makefile.am

index 463a92bc1a7f468819d29a72246c2c3e237ed5e2..d95384e188eb752af90b95a1cd7c44b082e71f24 100644 (file)
@@ -67,8 +67,10 @@ format_new (const char     *name,
       if (!component_found)
         {
           component_found = 0;
-          babl_fatal ("matching source component for %s in model %s not found",
+#if 0 /* since babl does the right thing, let it happen */
+          babl_fatal("matching source component for %s in model %s not found",
                       model->component[i]->instance.name, model->instance.name);
+#endif
         }
     }
 
index e8fdd1d726c9d65df3941e917c69fac92f512691..8b9060d4eb840284790ed4f00d84810f39744d26 100644 (file)
@@ -10,6 +10,8 @@ TESTS =                               \
        sanity                  \
        babl_class_name         \
        types                   \
+       extract \
+       nop \
        n_components            \
        models                  \
        $(CONCURRENCY_STRESS_TEST)
@@ -31,5 +33,6 @@ noinst_PROGRAMS =             \
        babl-html-dump          \
        conversions             \
        formats                 \
+       extract \
        nop                     \
        $(TESTS)